{% extends "base.html" %}
{% block title %}注册{% endblock %}
{% block body %}
<div class="form-container">
    <h2>注册 </h2>
<form action="{{ url_for('register') }}" method="post">

{{ form.hidden_tag() }}

<p>

{{ form.username.label }}<br>

{{ form.username(size=32) }}

</p>

<p>

{{ form.email.label }}<br>

{{ form.email(size=32) }}

</p>

<p>

{{ form.password.label }}<br>

{{ form.password(size=32) }}

</p>


<p>

{{ form.confirm_password.label }}<br>

{{ form.confirm_password(size=32) }}

</p>

<p>{{ form.submit() }} </p>

</form>

</div>
{% endblock %}